package CasinoMDS;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.EventQueue;
import java.awt.Font;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JLayeredPane;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JToggleButton;
import javax.swing.JComboBox;
import javax.swing.DefaultComboBoxModel;

public class Apuesta extends JFrame {

	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					Apuesta frame = new Apuesta();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public Apuesta() {
		setBackground(new Color(0, 0, 0));
		setResizable(false);
		setVisible(true);
		setTitle("Introduzca la apuesta");
		setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
		setBounds(100, 100, 307, 174);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		contentPane.setLayout(new BorderLayout(0, 0));
		setContentPane(contentPane);
			
		JLayeredPane layeredPane = new JLayeredPane();
		contentPane.add(layeredPane, BorderLayout.CENTER);
		
		JLabel lblHaAgotadoEl = new JLabel("Juego seleccionado:");
		lblHaAgotadoEl.setForeground(Color.BLACK);
		lblHaAgotadoEl.setFont(new Font("Tahoma", Font.PLAIN, 11));
		lblHaAgotadoEl.setBounds(30, 11, 102, 26);
		layeredPane.add(lblHaAgotadoEl);
		
		JLabel lblSiQuiereContinuar = new JLabel("Apuesta inicial:");
		lblSiQuiereContinuar.setFont(new Font("Tahoma", Font.PLAIN, 11));
		lblSiQuiereContinuar.setBounds(30, 48, 102, 14);
		layeredPane.add(lblSiQuiereContinuar);
		
		JButton btnIniciar = new JButton("Iniciar juego");
		btnIniciar.setBounds(144, 102, 110, 23);
		layeredPane.add(btnIniciar);
		
		JLabel lblJuego = new JLabel("Juego");
		lblJuego.setFont(new Font("Tahoma", Font.BOLD, 11));
		lblJuego.setBounds(165, 17, 46, 14);
		layeredPane.add(lblJuego);
		
		JComboBox comboBox = new JComboBox();
		comboBox.setModel(new DefaultComboBoxModel(new String[] {"50 cent", "1\u20AC", "2\u20AC", "5\u20AC"}));
		comboBox.setBounds(165, 45, 89, 20);
		layeredPane.add(comboBox);
		
		JButton btnCancelar = new JButton("Cancelar");
		btnCancelar.setBounds(30, 102, 89, 23);
		layeredPane.add(btnCancelar);
	}
}
